package com.atguigu.guli.service.edu.entity.vo;

import com.atguigu.guli.service.edu.entity.Chapter;
import com.atguigu.guli.service.edu.entity.Teacher;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

//#课程id，
// #课程cover，
//#课程的bycount，总课时，浏览数
//#课程的title，价格，主讲老师（讲师id，讲师姓名，讲师头衔）
//#课程详情介绍，课程大纲（章节链表，章节sourceid用于查看视频）
@Data
public class ApiCourseDetailVO {
    private static final long serialVersionUID=1L;
    @ApiModelProperty(value = "课程id")
    private  String id;

    @ApiModelProperty(value = "课程封面图片路径")
    private String cover;

    @ApiModelProperty(value = "总课时")
    private Integer lessonNum;


    @ApiModelProperty(value = "销售数量")
    private Long buyCount;

    @ApiModelProperty(value = "浏览数量")
    private Long viewCount;

    @ApiModelProperty(value = "课程标题")
    private String title;

    @ApiModelProperty(value = "课程销售价格，设置为0则可免费观看")
    private BigDecimal price;


    @ApiModelProperty(value = "课程讲师")
    private Teacher teacher;


    @ApiModelProperty(value = "课程专业ID")
    private String subjectId;

    @ApiModelProperty(value = "课程专业名称")
    private String subjectTitle;
    @ApiModelProperty(value = "课程专业父级ID")
    private String subjectParentId;
    @ApiModelProperty(value = "课程专业父级名称")
    private String subjectParentTitle;

    @ApiModelProperty(value = "课程章节信息")
    private List<Chapter> chapterList;

    @ApiModelProperty(value = "课程详情")
    private String description;
    //vo类直接对应前端页面所需要的信息，后端为vo类提供映射信息


}
